package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.ibatis.annotations.Result;

import java.util.List;

/**
 * 行政区域管理对象 region_flats
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
@ApiModel("行政区域管理")
public class RegionFlats extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    /** id */
    private Long id;

    /** 市政单位 */
    @ApiModelProperty("市政单位")
    @Excel(name = "市政单位")
    private Long workplaceType;

    /** 地区 */
    @ApiModelProperty("地区")
    @Excel(name = "地区")
    private String regionName;

    /** 联系电话 */
    @ApiModelProperty("联系电话")
    @Excel(name = "联系电话")
    private String workplacePhone;
    public String workName;
    private String label;
    private List<JgEquipment> jgEquipments;
    private List<Dev> children;
    private String type="1";

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<Dev> getChildren() {
        return children;
    }

    public void setChildren(List<Dev> children) {
        this.children = children;
    }

    public List<JgEquipment> getJgEquipments() {
        return jgEquipments;
    }

    public void setJgEquipments(List<JgEquipment> jgEquipments) {
        this.jgEquipments = jgEquipments;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }


    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWorkplaceType(Long workplaceType)
    {
        this.workplaceType = workplaceType;
    }

    public Long getWorkplaceType() 
    {
        return workplaceType;
    }
    public void setRegionName(String regionName) 
    {
        this.regionName = regionName;
    }

    public String getRegionName() 
    {
        return regionName;
    }
    public void setWorkplacePhone(String workplacePhone) 
    {
        this.workplacePhone = workplacePhone;
    }

    public String getWorkplacePhone() 
    {
        return workplacePhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workplaceType", getWorkplaceType())
            .append("regionName", getRegionName())
            .append("workplacePhone", getWorkplacePhone())
            .toString();
    }
}
